#include <stdio.h>
#include <stdlib.h>
int strlen1(char *p);
void strcat1(char *s,char *t);
int main()

{	
	char *p="Salut!",t[]="Numele meu este ",s[]="Popa Daniel";
	printf("Lungime sir= %d",strlen1(p));

	strcat1(s,t);
        printf("\nConcatenare = %s\n",t);	
return 0;
}
int strlen1(char *p)
{
	int len=0;
	for(len=0;*p!='\0';len++,p++)
			;
	return len;

}
void strcat1(char *s,char *t)
{
     while(*t!='\0')
        t++;
     while(*s!='\0')
     {
        *t=*s;
        s++;
        t++;
     }
     *t = '\0';
}
